package user

import (
	"coarse_score_cal_flow/ginmiddleware"
	"github.com/gin-gonic/gin"
)

func LoadRouter(e *gin.Engine) {
	v1 := e.Group("user", ginmiddleware.MwForGroup)
	// v1 := e.Group("user")
	// v1.Use(ginmiddleware.MwForGroup)
	{
		v1.POST("/matchByJson", MatchByJson)
		v1.POST("/matchByForm", MatchByForm)
		v1.POST("/getByNameAndAgeForm", GetByNameAndAgeForm)
		v1.POST("/asyncCal", AsyncCal)
	}
}
